<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			*{
				margin: 0;
				padding: 0;
			}
			#nav{
				position: relative;
				left: 400px;
				top: 300px;
				height: 200px;
				width: 200px;
			}
			#nav>div{ 
				
				width: 8px;
				height: 30px;
				background-color: aquamarine;
				display: inline-block;
				border-radius: 8px;
				-webkit-animation-name :tran;
					-webkit-animation-duration: 1.2s;
					-webkit-animation-iteration-count: infinite;
					-webkit-animation-timing-function: ease-in-out;
			}
			
			
			@-webkit-keyframes tran{
				0%{
					-webkit-transform: scaleY(0.4);
				}
				20%{
					-webkit-transform: scaleY(1);
				}
				40%{
					-webkit-transform: scaleY(0.4);
				}
				100%{
					-webkit-transform: scaleY(0.4);
				}
				
				/*from{}
				to{}*/
			}
			#nav>div:nth-child(2){
				-webkit-animation-delay: 0.1s;
			}
			#nav>div:nth-child(3){
				-webkit-animation-delay: 0.2s;
			}
			#nav>div:nth-child(4){
				-webkit-animation-delay: 0.3s;
			}
			#nav>div:nth-child(5){
				-webkit-animation-delay: 0.4s;
				
			}
			#nav>div:nth-child(6){
				-webkit-animation-delay: 0.5s;
			}
		</style>
	</head>
	<body>
		<div id="nav">
			<div></div>
			<div></div>
			<div></div>
			<div></div>
			<div></div>
			<div></div>
		</div>
		
	</body>
</html>
